package com.ruoyi.system.mapper.process;


import com.ruoyi.system.domain.process.ProcessShuntRibbon;

import java.util.List;

/**
 * 分卷和并卷关联Mapper接口
 * 
 * @author ljx
 * @date 2020-07-13
 */
public interface ProcessShuntRibbonMapper 
{
    /**
     * 查询分卷和并卷关联
     * 
     * @param id 分卷和并卷关联ID
     * @return 分卷和并卷关联
     */
    public ProcessShuntRibbon selectProcessShuntRibbonById(Long id);

    /**
     * 查询分卷和并卷关联列表
     * 
     * @param processShuntRibbon 分卷和并卷关联
     * @return 分卷和并卷关联集合
     */
    public List<ProcessShuntRibbon> selectProcessShuntRibbonList(ProcessShuntRibbon processShuntRibbon);
    List<Long> getRibbonIdAll();

    /**
     * 新增分卷和并卷关联
     * 
     * @param processShuntRibbon 分卷和并卷关联
     * @return 结果
     */
    public int insertProcessShuntRibbon(ProcessShuntRibbon processShuntRibbon);

    /**
     * 修改分卷和并卷关联
     * 
     * @param processShuntRibbon 分卷和并卷关联
     * @return 结果
     */
    public int updateProcessShuntRibbon(ProcessShuntRibbon processShuntRibbon);

    /**
     * 删除分卷和并卷关联
     * 
     * @param id 分卷和并卷关联ID
     * @return 结果
     */
    public int deleteProcessShuntRibbonById(Long id);

    /**
     * 批量删除分卷和并卷关联
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteProcessShuntRibbonByIds(String[] ids);
    int deleteByShuntIds(String[] ids);
}
